From: LLVM Packaging Team Date: Fri, 4 Nov 2016 00:33:12 +0000 (+0000) Subject: compiler-rt-path X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~30 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=de6802edc2630b4f2b4e7a7084aa0149429f2c14;p=llvm-toolchain-3.8.git compiler-rt-path =================================================================== Gbp-Pq: Name compiler-rt-path.diff --- diff --git a/compiler-rt/make/platform/clang_linux.mk b/compiler-rt/make/platform/clang_linux.mk index bf5ee4a9..0a47ac7a 100644 --- a/compiler-rt/make/platform/clang_linux.mk +++ b/compiler-rt/make/platform/clang_linux.mk @@ -11,7 +11,7 @@ Configs := # cross compilers). For now, we just find the target architecture of the # compiler and only define configurations we know that compiler can generate. CompilerTargetTriple := $(shell \ - LANG=C $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2) + LD_LIBRARY_PATH=../build-llvm/Release/lib LANG=C $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2) ifeq ($(CompilerTargetTriple),) $(error "unable to infer compiler target triple for $(CC)") endif